﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;


/**
* @Author: AdinZ
* @Q  Q : 1454269
* @Email:adinz@adinz.com
* @Created: 2014/4/12 13:42:14
*
* */
namespace Novel.Sys.BLL
{
   public  class novel_search
    {
       Dal.novel_search dal = new Dal.novel_search();
        public bool Exists(string keyword)
        {
            return dal.Exists(keyword);
        }
        public int AddKey(string Key)
        {
            return dal.AddKey(Key);
        }

        public int GetCount(string Key)
        {
            return dal.GetCount(Key);
        }

        public int UpdateCount(string Key, int count)
        {
            return dal.UpdateCount(Key, count);
        }

               /// <summary>
        /// 分页获取数据列表
        /// </summary>
        public DataSet GetListByPage(string strWhere, string orderby, int startIndex, int endIndex)
        {
            return dal.GetListByPage(strWhere, orderby, startIndex, endIndex);
        }
    }
}
